(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <stdio.h>
int fgetc()
SYNOPSIS
FILE * stream

FUNCTION
Read one character from the stream. If there is no character available or an error occurred, the function returns EOF.

INPUTS
stream
Read from this stream
RESULT
The character read or EOF on end of file or error.

NOTES
EXAMPLE
BUGS
SEE ALSO
getc(), fputc(), putc()
INTERNALS
HISTORY
14.03.1997 digulla
Check if there was no error. If there wasn't, set the EOF flag
17.01.1997 digulla
Added error handling
15.01.1997 digulla
Added functions for basic I/O (open, creat, close, read, write). Untested.
01.01.1997 ldp
Changed clib to proto
11.12.1996 aros
Added/corrected headers
10.12.1996 aros
Simplified code

Fixed typo

10.12.1996 aros
putc() is a macro which calls fgetc()

Added errno